redistribute kernel
This command redistributes routes of the specified protocol or kind into OSPF.
Syntax
redistribute kernel
redistribute kernel route-map
redistribute kernel metric-type {1|2}
redistribute kernel metric-type {1|2} route-map word
redistribute kernel metric <0-16777214>
redistribute kernel metric-type {1|2} metric <0-16777214> metric <0-16777214> route-map word
no redistribute kernel
|
Command |
Description |
|---|---|
|
metric |
Defines the metric for redistributed routes |
|
metric-type |
Defines the OSPF exterior metric type for registered routes |
|
1|2 |
Sets the OSPF exterior type - 1- metric, 2-metrics |
|
word |
Describes the pointer to route-map entries |
Default
NA
Command Mode
Privileged User
Example
This example redistributes routes of the specified protocol or kind into OSPF.
(config-data)# router ospf (conf-router)# redistribute kernel